package com.traitswu.simple.demo.exception;

public class StandardException extends RuntimeException  {

    private String errorCode;
    private String errorMessage;


    public StandardException(String errorCode, String errorMessage){
        super(errorMessage);
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}
